package com.simple.portal.bo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.simple.portal.bo.ILoggerBO;
import com.simple.portal.dao.ILoggerDAO;
import com.simple.portal.vo.LoggerVO;

@Service("loggerBO")
@Transactional(propagation = Propagation.REQUIRED, readOnly = true)
public class LoggerBOImpl implements ILoggerBO{

	@Autowired
	private ILoggerDAO loggerDAO;
	
	@Override
	public LoggerVO findById(String id) {
		return loggerDAO.findById(id);
	}

	@Override
	public List<LoggerVO> findAll() {
		return loggerDAO.findAll();
	}

}
